package Albums 
{
	import Common.Constants;
	import Core.ImagesViewer;
	import flash.display.Sprite;
	/**
	 * ...
	 * @author Serg de Adelantado
	 */
	public class AbstractIcon extends Sprite
	{		
		protected const BACKGROUND_COLOR:uint = Constants.ALBUM_BACKGROUND;
		protected const HIGHLITE_COLOR:uint = Constants.ALBUM_HIGHLITE;
		
		protected var FWidth:Number;
		protected var FHeight:Number;
		
		protected var FViewer:ImagesViewer;
		
		public function AbstractIcon() 
		{			
		}
		
		protected function Draw():void 
		{
		}
		
		public function SetSize(AWidth:Number, AHeight:Number):void
		{
			FWidth = AWidth;
			FHeight = AHeight;			
			Draw();
		}
		
		public function get Viewer():ImagesViewer
		{ 
			return FViewer; 
		}
		
		public function set Viewer(AViewer:ImagesViewer):void 
		{
			FViewer = AViewer;
		}
	}
}